/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: Sam
 * @Date: 2022-03-26 02:58:38
 * @LastEditors: Sam
 * @LastEditTime: 2022-12-05 15:25:52
 */
import Layout from '@/layout'

export default {
 alwaysShow: true,
 redirect: 'noRedirect',
  path: '/user',
  component: Layout,
  name :'User',
  meta: {
    title: '用户',
    icon: 'el-icon-user',
    roles: [
      'user'
    ]
  },
  children: [
    { path: '/customer/index', component: ()=>import('@/views/customer/index'), name: 'customer', meta: { title: '客户列表',roles: ['customer.index'] }},
    { path: '/projects/index', component: ()=>import('@/views/projects/index'), name: 'projects', meta: { title: '项目列表',roles: ['projects.index'] }}
    // { path: '/user/index', component: ()=>import('@/views/user/index'), name: 'UserIndex', meta: { title: '用户列表',roles: ['user.index'] }}
  ]
}
